//
//  AppDelegate.h
//  AutoCompilerManager
//
//  Created by Vescky on 13-5-7.
//  Copyright (c) 2013年 Vescky. All rights reserved.
//

#import <Cocoa/Cocoa.h>
#import "MongooseServer.h"
#import "LogSystem.h"

#define SET_WAITING_STRING(x) [((AppDelegate*)[[NSApplication sharedApplication] delegate]).tfWaitingNumber setStringValue:x]
#define SERVERIP_FOR_MP ((AppDelegate*)[[NSApplication sharedApplication] delegate]).mpServerIp

@interface AppDelegate : NSObject <NSApplicationDelegate> {
    MongooseServer *mgServer;
    NSTimer *timerForLogSystem;
}

@property (assign) IBOutlet NSWindow *window;
@property (nonatomic,strong) IBOutlet NSTextField *tfWaitingNumber;
@property (nonatomic,strong) NSString *mpServerIp;


@end
